home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #14
/
Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO
/
wildcat
/
allfl_20.zip
/
AFLREG.WCX
(
.txt
)
< prev
next >
Wrap
Wildcat! WCX
|
1996-01-01
|
9KB
|
459 lines
'! Decompiled with wccNosy version 4.20f (freeware)
'! Input File: in.wcx 9049 bytes 01/28/123 10:06:42pm
'! Code Segment Size :5469 bytes
'! Data Segment Size :10048 bytes
'! String Segment Size:3580 bytes
'! Compiled with WCC version 4.01
Type Type30
s0 As String*25
s25(0 To 3) As String*50
s225(0 To 1) As String*15
s255 As String*77
o332 As Boolean
s333 As String*14
s347 As String*8
s355(0 To 14) As String*50
o1105 As Boolean
End Type
Type Type29
s0 As String*25
s25(0 To 3) As String*50
s225(0 To 1) As String*15
s255 As String*77
o332 As Boolean
s333 As String*14
s347 As String*8
s355(0 To 14) As String*50
o1105 As Boolean
End Type
Type Type28
s0 As String*5
Filler5(1 To 388) As Byte
b393(1 To 4095) As Byte
End Type
Type Type27
s0 As String*3
s3 As String*8
s11 As String*30
s41 As String*25
s66(1 To 10) As String*80
l866 As Long
End Type
Type Type26
s0 As String*25
s25 As String*10
s35 As String*15
s50 As String*70
s120 As String*70
End Type
Declare Function Func564(s65534 As String) As Long
'! Declare Function Func676(s65534 As String) As Boolean
Declare Function Func1199(l65534 As Long, l65532 As Long) As Long
'! Declare Sub Sub1252(l65534 As Long, l65532 As Long)
Declare Function Func1352(w65534 As Word) As Boolean
Declare Sub Sub1477(w65534 As Word)
Declare Sub Sub1614(w65534 As Word)
'! Declare Sub Sub1751(w65534 As Word)
'! Declare Sub Sub1853(s65534 As String)
'! Declare Sub Sub1930
'! Declare Sub Sub2004(s65534 As String)
'! Declare Sub Sub2100
'! Declare Sub Sub2125
Declare Sub Sub2145(s65534 As String, t29_65532 As Type29, o65530 As Boolean)
Declare Sub Sub3685
Declare Sub Sub3785
Dim t26_4463 As Type26
Dim t27_4653 As Type27
Dim s5533 As String
Dim t28_5537 As Type28
Dim b10032(0 To 7) As Byte
Dim b10040(0 To 7) As Byte
t26_4463.s0 = "proFILES"
t26_4463.s25 = "2.0"
t26_4463.s35 = "01/01/96"
t26_4463.s50 = "Copyright (C) 1996 Prasanth Pulavarthi. All Rights Reserved."
t26_4463.s120 = t26_4463.s0 + " " + t26_4463.s25 + " for Wildcat! 4.01+"
s5533 = ProgPath + "ALLFILES.DAT"
t28_5537.s0 = t26_4463.s25
b10032(0) = 1
b10032(1) = 2
b10032(2) = 4
b10032(3) = 8
b10032(4) = 16
b10032(5) = 32
b10032(6) = 64
b10032(7) = 128
b10040(0) = 254
b10040(1) = 253
b10040(2) = 251
b10040(3) = 247
b10040(4) = 239
b10040(5) = 223
b10040(6) = 191
b10040(7) = 127
Sub3785
'! Called 2 times
Function Func564(s65534 As String) As Long
Dim l65524 As Long
Dim i65528 As Integer
l65524 = 0
i65528 = Len(s65534)
593 Do While i65528 > 0
l65524 = l65524 + Asc(Mid(s65534, i65528, 1))
i65528 = i65528 - 1
Loop
658 Func564 = l65524
End Function
'! Called 0 times
'! Function Func676(s65534 As String) As Boolean
'! Dim s65513 As String '! Temporary
'! Dim l65517 As Long
'! Dim s65519 As String '! Temporary
'! Dim i65521 As Integer
'! Dim s65523 As String
'! Dim i65527 As Integer
'! Dim l65529 As Long
'! Func676 = 0
'! If Exists(ProgPath + s65534 + ".LIC") Then
'! Open ProgPath + s65534 + ".LIC" For Random As 1 Len = 880 '! This value should probably be replaced with a "SizeOf" expression
'! Get 1, -1, t27_4653 '! 880 bytes
'! Close 1
'! If t27_4653.s0 <> "LIC" Then
'! Else
'! 796 If t27_4653.s3 <> s65534 Then
'! Else
'! 826 If UCase(t27_4653.s11) <> UCase(MakeWild.BBSName) Then
'! Else
'! 866 If UCase(t27_4653.s41) <> UCase(MakeWild.SysopName) Then
'! Else
'! 906
'! l65529 = Func564((t27_4653.s0 + t27_4653.s3 + t27_4653.s11 + t27_4653.s41))
'! 996 For i65527 = 1 To 10 Step 1
'! s65523 = t27_4653.s66(i65527)
'! l65529 = l65529 + Func564((s65523))
'! Next
'! 1150 If l65529 <> t27_4653.l866 Then
'! Else
'! 1179 Func676 = -1
'! End If
'! End If
'! End If
'! End If
'! End If
'! End If
'! 1187
'! End Function
'! Called 1 time
Function Func1199(l65534 As Long, l65532 As Long) As Long
Func1199 = 0
If l65534 And l65532 Then
Func1199 = -1
End If
1244
End Function
'! Called 0 times
'! Sub Sub1252(l65534 As Long, l65532 As Long)
'! Dim l65524 As Long '! Temporary
'! Dim l65528 As Long '! Temporary
'! If Func1199((l65534), (l65532)) Then
'! FlagClear l65534, l65532
'! Else
'! 1334 FlagSet l65534, l65532
'! End If
'! 1349
'! End Sub
'! Called 1 time
Function Func1352(w65534 As Word) As Boolean
If (t28_5537.b393(w65534 Div 8 + 1) And b10032(w65534 Mod 8)) <> 0 Then
Func1352 = -1
Else
1463 Func1352 = 0
End If
1469
End Function
'! Called 1 time
Sub Sub1477(w65534 As Word)
t28_5537.b393(w65534 Div 8 + 1) = t28_5537.b393(w65534 Div 8 + 1) Or b10032(w65534 Mod 8)
End Sub
'! Called 1 time
Sub Sub1614(w65534 As Word)
t28_5537.b393(w65534 Div 8 + 1) = t28_5537.b393(w65534 Div 8 + 1) And b10040(w65534 Mod 8)
End Sub
'! Called 0 times
'! Sub Sub1751(w65534 As Word)
'! Dim w65532 As Word '! Temporary
'! If Func1352((w65534)) Then
'! Sub1614((w65534))
'! Else
'! 1824
'! Sub1477((w65534))
'! End If
'! 1850
'! End Sub
'! Called 0 times
'! Sub Sub1853(s65534 As String)
'! Dim i65532 As Integer
'! i65532 = FreeFile
'! Open ProgPath + "PROFILES.LOG" For Append As i65532
'! Print #i65532, " * "; s65534
'! Close i65532
'! End Sub
'! Called 0 times
'! Sub Sub1930
'! Dim i65534 As Integer
'! i65534 = FreeFile
'! Open ProgPath + "PROFILES.LOG" For Append As i65534
'! Print #i65534, String(79, "-")
'! Close i65534
'! End Sub
'! Called 0 times
'! Sub Sub2004(s65534 As String)
'! Dim t65528 As Time
'! Dim i65532 As Integer
'! i65532 = FreeFile
'! CurrentTime t65528
'! Open ProgPath + "PROFILES.LOG" For Append As i65532
'! Print #i65532, FormatTime(t65528, "hh:mm"); " "; s65534
'! Close i65532
'! End Sub
'! Called 0 times
'! Sub Sub2100
'! ActivityLog ProgName + " ERROR - See PROFILES.LOG for info."
'! End Sub
'! Called 0 times
'! Sub Sub2125
'! Delay 0
'! End Sub
'! Called 2 times
Sub Sub2145(s65534 As String, t29_65532 As Type29, o65530 As Boolean)
Dim l65511 As Long
Dim b65515 As Byte
Dim l65516 As Long
Dim b65520 As Byte
Dim d65521 As Date
Dim b65527 As Byte
Dim i65528 As Integer
i65528 = FreeFile
Open s65534 For Output As i65528
Print #i65528, Spc(6); t26_4463.s120; " ("; t26_4463.s35; ")"
Print #i65528, Spc(6); t26_4463.s50
Print #i65528,
CurrentDate d65521
Print #i65528, Spc(6); " Today: "; FormatDate(d65521, MakeWild.DateFormat)
Print #i65528, Spc(6); " Real Name: "; t29_65532.s0
Print #i65528, Spc(6); " Address: "; t29_65532.s25(0)
2418 For b65527 = 1 To 3 Step 1
If t29_65532.s25(b65527) = "" Then
GoTo 2604
End If
2523 Print #i65528, Spc(6); " "; t29_65532.s25(b65527)
Next
2604 Print #i65528, Spc(6); " Voice #: "; t29_65532.s225(0)
Print #i65528, Spc(6); " BBS Phone: "; t29_65532.s225(1)
Print #i65528, Spc(6); " Internet: "; t29_65532.s255
If t29_65532.o332 Then
Print #i65528, Spc(6); "Codes Thru: BBS"
Print #i65528, Spc(6); " Password: "; t29_65532.s333
Print #i65528, Spc(6); "Birth Date: "; t29_65532.s347
Else
2861 Print #i65528, Spc(6); "Codes Thru: Internet"
End If
2881 If t29_65532.o1105 Then
Print #i65528, Spc(6); "SourceCode: YES"
Else
2925 Print #i65528, Spc(6); "SourceCode: NO"
End If
2945 Print #i65528, Spc(6); " Comments: "; t29_65532.s355(0)
3021 For b65527 = 1 To 14 Step 1
If t29_65532.s355(b65527) = "" Then
GoTo 3209
End If
3127 Print #i65528, Spc(6); " "; t29_65532.s355(b65527)
Next
3209 If Not o65530 Then
Print #i65528,
Print #i65528, Spc(6); "--Makewild Information--"
Print #i65528, Spc(6); "SysOp Name: "; MakeWild.SysopName
Print #i65528, Spc(6); " BBS Name: "; MakeWild.BBSName
Print #i65528, Spc(6); "Reg Number: "; MakeWild.RegString
Print #i65528,
Print #i65528, Spc(6); "I agree that I will NOT distribute the registered version"
Print #i65528, Spc(6); "of proFILES or any files marked for registered users only."
Print #i65528,
If t29_65532.o1105 Then
Print #i65528, Spc(6); "I also acknowledge that I have purchased only a COPY of the"
Print #i65528, Spc(6); "source code and that all rights remain with the author. I"
Print #i65528, Spc(6); "will modify and use the source for my personal use and will"
Print #i65528, Spc(6); "not distribute it or any derivative of it in any way."
Print #i65528,
End If
3503 Print #i65528, Spc(6); "Signed: ______________________________________ Date: ___________"
Print #i65528,
Print #i65528, Spc(6); "Mail this order form along with US$10.00 to:"
Print #i65528,
Print #i65528, Spc(6); " Prasanth Pulavarthi"
Print #i65528, Spc(6); " R.E. proFILES"
Print #i65528, Spc(6); " 2130 Sheraton Drive"
Print #i65528, Spc(6); " Santa Clara, CA 95050-3331"
Print #i65528,
Print #i65528, Spc(6); "Make all checks and money orders payable to: PRASANTH PULAVARTHI."
Print #i65528, Chr(12)
End If
3674 Close i65528
End Sub
'! Called 11 times
Sub Sub3685
Cls
SubText 1, t26_4463.s0
SubText 2, t26_4463.s25
SubText 3, Pad("Registration Form", 31)
SubText 4, t26_4463.s35
Print "@71@ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ";
Print "@71@ @1F@ @SUB1@ @SUB2@ @07@ @71@ @1F@ @SUB3@ @07@ @70@ @1F@ Compiled: @SUB4@ @07@ @70@ ";
Print "@70@ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ";
Print
End Sub
'! Called 1 time
Sub Sub3785
Dim o64410 As Boolean '! Temporary
Dim s64411 As String '! Temporary
Dim o64414 As Boolean '! Temporary
Dim l64415 As Long
Dim b64419 As Byte
Dim l64420 As Long
Dim b64424 As Byte
Dim b64425 As Byte
Dim s64426 As String
Dim t30_64430 As Type30
Do
3794 Sub3685
t30_64430.s0 = InputMask("@0E@What is your real name? ", String(25, "X"), t30_64430.s0, 1213417543)
If t30_64430.s0 = "" Then
GoTo 5462
End If
3860 Sub3685
t30_64430.s225(0) = InputMask("@0E@What is your voice phone number? ", String(15, "X"), t30_64430.s225(0), 1213417543)
Sub3685
t30_64430.s225(1) = InputMask("@0E@What is your BBS phone number? ", String(15, "X"), t30_64430.s225(1), 1213417543)
Sub3685
Print "@0E@What is your mailing address? (Blank line ends)"
4075 For b64425 = 0 To 3 Step 1
t30_64430.s25(b64425) = InputMask("@0E@" + Str(b64425 + 1) + "/4: ", String(50, "X"), t30_64430.s25(b64425), 1213417543)
If t30_64430.s25(b64425) = "" Then
GoTo 4313
End If
4290 Next
4313 Sub3685
Print "@0E@What is your Internet address, if you have one?"
t30_64430.s255 = InputMask("", String(77, "X"), t30_64430.s255, 1213417543)
Sub3685
Print "@0E@[@0F@Y@0E@] Through a private message on Bruin Country BBS"
Print "@0E@[@0F@N@0E@] Through private e-mail on the Internet"
Print
t30_64430.o332 = InputYesNo("@0E@How would you like to receive the codes? ", t30_64430.o332)
If t30_64430.o332 Then
Print
Print "@0E@The following information is required for your account on Bruin Country BBS."
t30_64430.s333 = InputMask("@0E@Password? ", String(14, "X"), t30_64430.s333, 1213417543)
Print
t30_64430.s347 = InputMask("@0E@Birthdate for verification (@0F@mm/dd/yy@0E@)? ", String(8, "X"), t30_64430.s347, 1213417543)
End If
4544 Sub3685
t30_64430.o1105 = InputYesNo("@0E@Would you like to purchase a copy of the source code? ", t30_64430.o1105)
Sub3685
Print "@0E@Any comments? (Blank line ends)"
4613 For b64425 = 0 To 14 Step 1
t30_64430.s355(b64425) = InputMask("@0E@" + Str(b64425 + 1) + "/15: ", String(50, "X"), t30_64430.s355(b64425), 1213417543)
If t30_64430.s355(b64425) = "" Then
GoTo 4854
End If
4831 Next
4854 Sub3685
Sub2145((TempPath + "REGISTER.TMP"), t30_64430.s0, (-1))
Print "@0E@Now you will be able to verify the information you just entered."
WaitEnter
Cls
Print DefColor;
Del TempPath + "REGISTER.TMP"
Print
If (InputYesNo("Do you want to go back and change anything@YNDEF@? ", 0)) = 0 Then GoTo 4983
Loop
4983 Sub3685
Print "@0E@If you want to print this registration form to your printer, specifiy the port."
Print "@0A@Examples: PRN, LPT1, COM2"
Print
Print "@0E@If you want to save it to a file and print it later, specify the path and name."
Print "@0A@Examples: C:\ATMREG.FRM, C:\WILDCAT\WCATM\ATMREG.TXT"
Print
Print "@0E@What do you want to do with this registration form (@0F@ENTER@0E@ to discard)?"
Input s64426
If s64426 <> "" Then
Print "@03@Printing...";
Sub2145(s64426, t30_64430.s0, (0))
MoveLeft 80
ClrEOL
Sub3685
Print "@0F@"; Chr(254); " @0E@The registration form has been printed or saved."
Print
If t30_64430.o1105 Then
Print "@0F@"; Chr(254); " @0E@The registration fee for proFILES and Source Code is @0A@$30.00@0E@ US currency."
Else
5180 Print "@0F@"; Chr(254); " @0E@The registration fee for proFILES is @0A@$10.00@0E@ US currency."
End If
5203 Print
Print "@0F@"; Chr(254); " @0E@Before you send in your registration form, be sure to sign it and date"
Print " @0E@it and enclose the full amount in US currency."
Print
Print "@0F@"; Chr(254); " @0E@Please make all checks and money orders payable to: @0A@PRASANTH PULAVARTHI@0E@."
Print
If t30_64430.o332 Then
Print "@0F@"; Chr(254); " @0E@Please call Bruin Country BBS 408-246-3772 in one to two weeks after"
Print " @0E@you mail the registration to pickup your key."
Print
Print "@0F@"; Chr(254); " @0E@Your account name on Bruin Country BBS is @0F@"; t30_64430.s0; "@0E@."
Print
Print "@0F@"; Chr(254); " @0E@You might want to write your account info down to use when you call."
Else
5383 Print "@0F@"; Chr(254); " @0E@You should receive e-mail with the key UUEncoded in about a week after"
Print " @0E@you mail the registration."
End If
5415 Print
Print "@0F@"; Chr(254); " @0B@THANKS FOR REGISTERING "; t26_4463.s120 + "!!!"
WaitEnter
End If
5462
End Sub